package com.walkline.dianping.dao;

import org.json.me.JSONObject;

import com.walkline.dianping.DianpingException;
import com.walkline.dianping.DianpingSDK;

public class DianpingObject implements com.walkline.dianping.inf.Object
{
	protected DianpingSDK _dianping;
	protected JSONObject _jsonObject;

	public DianpingObject(DianpingSDK dianping, JSONObject jsonObject) throws DianpingException
	{
		if ((dianping == null) || (jsonObject == null)) {throw new DianpingException("Unable to create DianpingObject.");}

		_dianping = dianping;
		_jsonObject = jsonObject;
	}
}